﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CS.model
{
    public class BuyGoods:shangp
    {
        /// <summary>
        /// 数量
        /// </summary>
        public int BuyCount { get; set; }
        /// <summary>
        /// 优惠
        /// </summary>
        public double Coupon { get; set; }
        /// <summary>
        /// 小计
        /// </summary>
        public double XiaoJi {
            get 
            {
                return this.SalePrice * this.BuyCount;
            } 
        }
    }
}
